package de.gee.erep.server.xml;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.LinkedList;
import java.util.List;

import javax.xml.stream.XMLStreamException;

public abstract class ErepParser<T> {
    private final List<T> result = new LinkedList<T>();
    
    public abstract void parse() throws XMLStreamException;
    public abstract void parseUpdate() throws XMLStreamException, MalformedURLException, IOException;
    
    public List<T> getResult() {
	return result;
    }
}
